#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int a[10] = { 8, 6, 4, 2, 1, 3, 5, 7, 9 };
	int i, j,t,n;
	i = 0;
	while (i<10)
	{
		j = i + 1;
		while (j<10)
		{
			if (a[i]<a[j])
			{
				t = a[i];
				a[i] = a[j];
				a[j] = t;
			}
			j++;
		}
		i++;
	}
	n = 0;
	while (n<10)
	{
		printf("%d", a[n]);
		n++;
	}
	return 0;
}